package com.bml.architect.proivder.service;

import org.apache.dubbo.config.annotation.Service;
import org.apache.dubbo.rpc.service.GenericException;
import org.apache.dubbo.rpc.service.GenericService;

@Service(version = "generic",interfaceName = "com.bml.architect.DemoService")
public class GenericServiceIml implements GenericService {
    @Override
    public Object $invoke(String s, String[] strings, Object[] objects) throws GenericException {
        System.out.println("执行了generic服务");
        System.out.println("调用的服务方法名称="+s);
        System.out.println("调用方法的参数类型名称="+strings);
        System.out.println("调用的方法的参数列表="+objects);
        return "泛化执行成功";
    }
}
